package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 答卷表 ms_answers
 * 
 * @author ruoyi
 * @date 2018-12-17
 */
public class MsAnswers extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 答卷编号 */
	private String djId;
	/** 试卷编号 */
	private Integer djPaperid;
	/** 答题者Id */
	private String djUserid;
	/** 答题内容 */
	private String djContent;
	/** 答题得分 */
	private BigDecimal djScore;
	/** 开始时间 */
	private Date djStarttime;
	/** 结束时间 */
	private Date djEndtime;
	/** 答案类型（1正常答完 2强制交卷） */
	private Integer djType;

	private String ansContent;

	private String queContent;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setDjId(String djId) 
	{
		this.djId = djId;
	}

	public String getDjId() 
	{
		return djId;
	}
	public void setDjPaperid(Integer djPaperid) 
	{
		this.djPaperid = djPaperid;
	}

	public Integer getDjPaperid() 
	{
		return djPaperid;
	}
	public void setDjUserid(String djUserid) 
	{
		this.djUserid = djUserid;
	}

	public String getDjUserid() 
	{
		return djUserid;
	}
	public void setDjContent(String djContent) 
	{
		this.djContent = djContent;
	}

	public String getDjContent() 
	{
		return djContent;
	}
	public void setDjScore(BigDecimal djScore) 
	{
		this.djScore = djScore;
	}

	public BigDecimal getDjScore() 
	{
		return djScore;
	}
	public void setDjStarttime(Date djStarttime) 
	{
		this.djStarttime = djStarttime;
	}

	public Date getDjStarttime() 
	{
		return djStarttime;
	}
	public void setDjEndtime(Date djEndtime) 
	{
		this.djEndtime = djEndtime;
	}

	public Date getDjEndtime() 
	{
		return djEndtime;
	}
	public void setDjType(Integer djType) 
	{
		this.djType = djType;
	}

	public Integer getDjType() 
	{
		return djType;
	}

	public String getAnsContent() {
		return ansContent;
	}

	public void setAnsContent(String ansContent) {
		this.ansContent = ansContent;
	}

	public String getQueContent() {
		return queContent;
	}

	public void setQueContent(String queContent) {
		this.queContent = queContent;
	}

	public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("djId", getDjId())
            .append("djPaperid", getDjPaperid())
            .append("djUserid", getDjUserid())
            .append("djContent", getDjContent())
            .append("djScore", getDjScore())
            .append("djStarttime", getDjStarttime())
            .append("djEndtime", getDjEndtime())
            .append("djType", getDjType())
            .toString();
    }
}
